package com.xiaoxi.exam.bean.request;

import com.xiaoxi.exam.bean.ExamOrderInfo;
import com.xiaoxi.exam.bean.enums.ExamType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "下单基础类")
public class BaseOrderRequest {

    @ApiModelProperty(value = "openId")
    private String openId;
    @ApiModelProperty(value = "考试类型")
    private ExamType type = ExamType.TOEFL;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "验证码")
    private String verifyCode;
    @ApiModelProperty(value = "考试信息")
    private List<ExamOrderInfo> orderInfos;
}
